const getters = {
  sidebar: state => state.app.sidebar,
  device: state => state.app.device,
  themeColor: state => state.app.themeColor,//主题色
  themeBackgound: state => state.app.themeBackgound,
  menuBg: state => state.app.menuBg,
  is: state => state.app.is,
  token: state => state.user.token,
  isLogin: state => !!state.user.userInfo, // 是否登录
  permission_routes: state => state.permission.routes, // 动态路由
  userInfo: state => state.user.userInfo,//用户信息
}

export default getters
